package com.pug.zixun.pojo;

import java.math.BigDecimal;
import java.util.Date;
import lombok.*;
import com.baomidou.mybatisplus.annotation.*;

import org.pug.generator.anno.PugDoc;
/**
 * CourseOrder实体
 * 创建人:yykk<br/>
 * 时间：2022-09-09 12:32:33 <br/>
 * 源码下载：前台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-ui.git
 * 飞哥B站地址：后台代码 git clone https://gitee.com/kekesam/kuangstudy-pug-parent.git
 * @version 1.0.0<br/>
 *
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("gs_course_order")
public class CourseOrder  implements java.io.Serializable {
    @PugDoc(name="主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    @PugDoc(name="订单号")
    private String ordernumber;
    @PugDoc(name="交易号")
    private String tradeno;
    @PugDoc(name="用户ID")
    private Long userid;
    @PugDoc(name="用户姓名")
    private String username;
    @PugDoc(name="用户昵称")
    private String nickname;
    @PugDoc(name="用户头像")
    private String avatar;
    @PugDoc(name="支付方式 weixin alipay")
    private String paymethod;
    @PugDoc(name="支付地址")
    private String ipaddress;
    @PugDoc(name="支付IP")
    private String ip;
    @PugDoc(name="支付时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @PugDoc(name="修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @PugDoc(name="购买的工具")
    private Long courseid;
    @PugDoc(name="工具标题")
    private String coursetitle;
    @PugDoc(name="工具的封面")
    private String courseimg;
    @PugDoc(name="工具的描述")
    private String coursedesc;
    @PugDoc(name="架构标题")
    private BigDecimal coursemoney;
    @PugDoc(name="架构的金额")
    private BigDecimal paymoney;
    @PugDoc(name="")
    private Integer coursecoursetype;
    @PugDoc(name="")
    private String coursecoursetimer;
    @PugDoc(name="")
    private String courselessoncount;
    @PugDoc(name="")
    private Long coursecategoryid;
    @PugDoc(name="")
    private String coursecategorytitle;
    @PugDoc(name="")
    private String coursetags;

}
